package com.qianxi.bleforunity;

import android.bluetooth.BluetoothGattCharacteristic;
import android.util.Log;

public class BlueCharacterInfo {
    public String UUID;
    public  BlueCharacterInfo(BluetoothGattCharacteristic bluetoothGattCharacteristic)
    {
        UUID = bluetoothGattCharacteristic.getUuid().toString();
        Log.d("BlueCharacterInfo", "BlueCharacterInfo UUID: " + UUID);
        Log.d("BlueCharacterInfo", "BlueCharacterInfo Permissions: " + bluetoothGattCharacteristic.getPermissions());
        Log.d("BlueCharacterInfo", "BlueCharacterInfo Properties: " + bluetoothGattCharacteristic.getProperties());
        Log.d("BlueCharacterInfo", "BlueCharacterInfo WriteType: " + bluetoothGattCharacteristic.getWriteType());
    }
}
